Question 1.3.1
(i) Find the degree of each vertex in G of Figure 1.9.
(ii) Find N(x) for each vertex x in G of Figure 1.9.
(iii) By definition, is it true that d(v)=∣N(v)∣?
(iii) It is not always true that d(v)=∣N(v)∣. For example d(v)=5 but ∣N(v)∣=4. This happens because of multiple edges- there are two bv edges but because sets don't allow duplications N(v) only contains b once.
Question 1.3.2 Consider the multigraph G of Figure 1.9. Find e(G) and the sum of the degrees of the six vertices. Is the sum twice of e(G)?
In general, is the sum of the degrees of the vertices in a multigraph always double its size?
Solution
To find e(G) simply label the edges
So clearly e(G)=9. Next we find the sum of the degrees of the six vertices.
Here we have ∑v∈V(G)d(v)=2e(G) and by the Handshaking Lemma this holds in general.
Question 1.3.3 (1) How many odd vertices are there in each of the multigraphs in the previous examples?
(2) Can you construct a multigraph containing
(i) exactly one odd vertex?
(ii) exactly three odd vertices?
Solution
(1) First let's take a look at Figure 1.10 and plot the vertices and their respective degrees:
Vertex
Degree
a
1
b
2
c
3
j
0
p
0
w
4
x
7
y
4
z
3
We can see from this table that four vertices, a, c, x, and z, have odd degree.
Next let's take a look at Figure 1.9, pictured again here
Let's make a table of the vertices and their degrees
Vertex
Degree
a
3
b
4
c
3
u
2
v
5
w
1
We can see from this table that four vertices, a, c, v, and w, have odd degree.
(2) No for both (i) and (ii) because one and three are odd numbers, and you must have an even number of vertices with odd degree.
Question 1.3.4. Construct a 5-regular graph of order 10. What is its size?
Solution
Of course its size is 50 because it has 10 nodes each of which is incident with 5 edges.
Among the (simple) graphs G of a fixed order n, at one extreme, the null graph Nn contains no edges (the least possible size). At the other extreme, we may ask:
Question 1.3.5. What is the largest possible size that G can have? Which graph has its size attaining this largest possible number?
Solution
The largest possible size that G can have is n+(n−1)+⋅+0=2n(n−1), which happens when each vertex is adjacent to every other vertex.
Exercise 1.3
(1) In the following multigraph G, find (i) the size of G, (ii) the degree of each vertex, (iii) the sum ∑{d(v)∣v∈V(G)}, (iv) the number of odd vertices, (v)Δ(G), and (vi)δ(G).
Is your answer for (iii) double your answer for (i)? Is your answer for (iv) an even number?
Solution
(i) To find the size of G we count all the edges
Clearly e(G)=13.
(ii) Let's make a table to see the degree of each vertex
Vertex
Degree
a
5
b
3
c
5
e
6
g
2
w
0
x
1
y
3
z
1
(iii) Simply add the degree column to get the sum of the degrees
5+3+5+6+2+0+1+3+1=26
(iv) The odd vertices are a, b, c, x, y, z, so there are 6 odd vertices.
(v) The highest degree vertex is e with a degree of 6 so Δ(G)=6.
(vi) The lowest degree vertex is w with a degree of 0 so δ(G)=0.
The answer to (iii) is double the answer of (i) and the answer for (iv) is an even number.
(2) Construct a multigraph of order 6 and size 7 in which every vertex is odd.
Solution
(3) Let G be a multigraph with V(G)={v1,v2,⋯,vn}. Prove that the sum of all the entries in the ith row of the adjacency matrix A(G) is the degree of the vertex vi for each i=1,2,⋯,n.
Solution
j=1∑nai,j=j=1∑n# edges joining vi and vj=d(vi)
(4) Let G be a graph of order 8 and size 15 in which each vertex is of degree 3 or 5. How many vertices of degree 5 does G have? Construct one such graph G.
Solution
Here is one such graph
We can check that it is size 15 by counting the edges
This must be double the number of edges, so we conclude that e(G)=15.
Finally, since r1, r4, and r6 sum up to 5, vertices 1, 4, and 6 have degree five, so our G has 3 vertices of degree five.
Now, why must all graphs G have 3 vertices of degree five? Well know that G is of order 8 and size 15 so by the Handshaking Lemma
i=1∑8d(vi)=2×15=30
We also know that each vertex is degree 3 or 5. Let A be the set of vertices of degree 3 and B be the set of vertices with degree 5. Then
30=v∈A∑d(v)+v∈B∑d(v)=3∣A∣+5∣B∣
Of course since we are order 8 and every vertex is in A or B but not both so V(G)=A⊔B, that is the union is disjoint so
∣A∣+∣B∣=8
Plugging in,
30=3∣A∣+5(8−∣A∣)=40−2∣A∣∣A∣=5∣B∣=8−∣A∣=3.□
(5) Let H be a graph of order 10 such that 3≤d(v)≤5 for each vertex v in H. Not every vertex is even. No two odd vertices are of the same degree. What is the size of H?
Solution
By the Handshaking Lemma we have
v∈V(H)∑d(v)=2e(H)
It would be impossible to have one vertex be degree 3 and the rest be even because then we would have
2e(H)=3+9×4=39
Similarly, it would be impossible to have one vertex be degree 5 and the rest be even because then we would have
2e(H)=5+9×4=41
We conclude that we must have on degree 3 vertex, one degree 5 vertex, and that the rest are even. So we calculate that
2e(H)=3+5+8×4=40e(H)=20.□
(6) Let G be a graph of order 14 and size 30 in which every vertex is of degree 4 or 5. How many vertices of degree 5 does G have? Construct one such graph G.
Solution
Let A be the set of vertices that are degree 5. By the Handshaking Lemma,
Clearly exactly four vertices are degree 5 and the rest are degree 4, and the sum of their degree is 60, so we know that the size of G is 30.
(7) Does there exist a multigraph G of order 8 such that δ(G)=0 while Δ(G)=7? What if "multigraph G" is replaced by "graph G"?
Solution
Here is one such multigraph G:
However, no such simple graph can exist. As you can see we need the double edge connection 2 and 3 to get the vertex count up to 7. There are only 8 total vertices, so if one vertex connects to every other vertex that would be 7 connections, but it must not connect to one of the vertices because one of the vertices must have degree 0 because δ(G)=0. □
(8) Characterize the 1-regular graphs.
Solution
The 1-regular graphs are graphs G such that for every vertex v∈V(G) we have d(v)=1. By the Handshaking Lemma,
v∈V(G)∑d(v)=2e(G)
Since d(v)=1 we can simplify this to
2e(G)=v(G)
So all 1-regular graphs have an even number of vertices, and have an edge for every two vertices. Here are some examples of 1-regular graphs.
(2 vertices and 1 edge)
(4 vertices and 2 edges)
(6 vertices and 3 edges)
etc...
(9) Draw all regular graphs of order n, where 2≤n≤6.
Solution
When n=2 there are two:
a zero-regular:
and a 1-regular:
When n=3 are two:
a zero-regular:
and a 2-regular:
When n=4 there are three:
a zero-regular:
a 1-regular:
and a 2-regular:
When n=5 there are two:
a zero-regular:
and a 2-regular:
Finally, when n=6 there are four:
a zero-regular:
a 1-regular:
a 2-regular:
and a 3-regular:
(10)(i) Does there exist a graph G of order 5 such that δ(G)=1 and Δ(G)=4? (ii) Does there exist a graph G of order 5 which has two vertices of degree 4 and δ(G)=1?
Solution
(i) Yes, as this graph G is order 5 such that δ(G)=1 and Δ(G)=4:
(ii) No such graph G of order 5 which has two vertices of degree 4 and δ(G)=1 exists.
Assume such a graph G did exist. Label the two vertices of degree 4 as 1 and 2. It is sufficient to prove that
d(n)≥2 for n=3,4,5
Let n=3,4,5. It is sufficient to prove that the edges {1,n} and {2,n} exist.
Assume that {1,n}∈/E(G). Then d(1)≤3 (because there are 5 total vertices, and 1 can't be connected to itself or n), contradicting d(1)=4. Therefore, {1,n}∈E(G). We similarly have {2,n}∈E(G). □
(11) Let H be a graph of order 8 and size 13 with δ(H)=2 and Δ(H)=4. Denote by ni the number of vertices in H of degree i, where i=2,3,4. Assume that n3≥1. Find all possible answers for (n2,n3,n4). For each of your answers, construct a corresponding graph.
Solution
Let A be the set of vertices degree 2, B be the set of vertices degree 3, and C be the set of vertices degree 4. Since there are 8 total vertices and for each vertex v the inequality δ(H)≤d(v)≤Δ(H) holds, we plug in to get 2≤d(v)≤4, or equivalently each vertex v is in A, B, or C. Therefore,
Why did I show all the arithmetic there? I don't know I was just having fun with it. Anyways the answer is integers n such that
15≤n≤20.□
(18)(+) Let G be a multigraph of order 13 in which each vertex is of degree 7 or 8. Show that G contains at least eight vertices of degree 7 or at least seven vertices of degree 8.
Solution
Let A be the set of vertices degree 7 and B be the set of vertices degree 8. Then
This is a contradiction because 97 is not an even number. □
(19)(+) Let G be a graph of order n in which there exist no three vertices u, v and w such that uv, vw and wu are all edges in G. Show that n≥δ(G)+Δ(G).
Solution
Let N(u) be the set of vertices incident to u, where d(u)=Δ(G).
Let v∈N(u). Consider N(v).
If w∈N(u) then we don't have w∈N(v). Since ∣N(u)∣=Δ(G),
∣N(v)∣≤n−Δ(G)
Since we obviously have
δ(G)≤∣N(v)∣
We plug in to get
δ(G)≤n−Δ(G)n≥δ(G)+Δ(G).□
(20)(+) There were n(≥2) persons at a party and, as usually happens, some shake hands with others. No one shook hands with the same person more than once. Show that there are at least two persons in the party who had the same number of handshakes.
Solution
Each person is a vertex and two vertices are connected by an edge if they shook hands, so this is a graph, call it G.
Since there are n≥2 persons, G has order n.
We know that for each v∈V(G),
0≤d(v)≤n−1(1)
Assume that there was a loner, aka someone who shook hands with no one, or in graph-theoretical terms there exists some v∈V(G) such that
d(v)=0
Since no one shook hands with v, Inequality (1) become
0≤d(v)≤n−2
Since there are n vertices and n−1 possibilities for their degrees, by the Pigeonhole Principle at least one of the degrees must be repeated. This pair of vertices with the same degree corresponds to the people in the party with the same number of handshakes.
This solution relied on assuming that there was a loner, that is a vertex v∈G such that d(v)=0. What if there is no loner? Well then Inequality (1) becomes
0<d(v)≤n−1
so we can once again apply the Pigeonhole Principle to achieve the desired result. □
(21) The preceding problem says that in any graph order n≥2, there exists two vertices having the same degree. Is the result still valid for multigraphs?
Solution
No, see this counterexample.
Vertex
Degree
1
1
2
3
3
2
□
(22)(+) Mr. and Mrs. Sany attended an exclusive party where in addition to themselves, there were only another 3 couples. As usually happens, some shake hands with others. No one shook hands with the same person more than once and no one shook hands with his/her spouse. After all the handshakes had been done, Mr. Samy asked each person, including his wife, how many hands he/she had taken. To everyone's amuesement, each one gave a different answer. How many hands did Mrs. Samy shake?
(23)(+) In the preceding problem, there were four couples altogether in a party. Solve the general problem where 'four couples' is replacy by 'n(≥2) couples'.
(24)(+) There are n≥2 distinct points in the plane such that the distance between any 2 points is at least one. Prove that there are at most 3n pairs of these points at distance exactly one.